<!doctype html>
<html>
<head>
    <title>添加会员</title>
    <?php $this->load->module('admin/index/page_header');?>
</head>
</head>
<body>
<div class="wrap">
<div class="table_full">
    <div class="h_a">添加行程</div>
    <form method="post" class="formvalidate" action="<?php echo $form_url;?>">
        <table class="list tab_label" cellpadding="0" cellspacing="1" border="0" id="general_config">
            <tbody>
                <tr>
                <th>归属地</th>
                <td>
                    <select name="Form[continent]" id="continent" onchange="_showdistrict(['continent', 'country', 'province', 'city'], 1)">
                        <option value="-1" did="-1">选择洲</option>

                    </select>
                    <select name="Form[country]" id="country" onchange="_showdistrict(['continent', 'country', 'province', 'city'], 2)">
                        <option value="-1" did="-1">选择国家</option>
                    </select>
                    <select name="Form[province]" id="province" onchange="_showdistrict(['continent', 'country', 'province', 'city'], 3)">
                        <option value="-1" did="-1">选择省</option>
                    </select>
                    <select name="Form[city]" id="city">
                        <option value="-1" did="-1">选择市</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td colspan="2">
                    <button type="submit" class="btn btn_submit">提交</button>
                    <button type="reset" class="btn btn_cancel">重置</button>
                </td>
            </tr>
            </tbody>
        </table>


    </form>
</div>
</div>

<script type="text/javascript">
    var district_url = '<?php echo site_url('admin/api/city_fetch/?id=')?>';
    _showdistrict(['continent', 'country', 'province', 'city'], 0);

</script>
</body>
</html>